Skip to content

Conversation

resyntax-ci[bot]
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Sep 21, 2025

Resyntax fixed 18 issues in 5 files.

  • Fixed 8 occurrences of let-to-define
  • Fixed 3 occurrences of ignored-and-to-when
  • Fixed 2 occurrences of nested-and-to-flat-and
  • Fixed 1 occurrence of provide/contract-to-contract-out
  • Fixed 1 occurrence of explicit-cond-else-void
  • Fixed 1 occurrence of make-temporary-directory-migration
  • Fixed 1 occurrence of nested-when-to-compound-when
  • Fixed 1 occurrence of cond-let-to-cond-define

Nested `and` expressions can be flattened into a single, equivalent `and` expression.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Nested `when` expressions can be merged into a single compound `when` expression.
The `provide/contract` form is a legacy form made obsolete by `contract-out`.
Use `make-temporary-directory` to make directories instead of `make-temporary-file`.
This `and` expression's result is ignored. Using `when` makes this clearer.
Add an explicit `[else (void)]` clause to make the default behavior clear.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
@rfindler
Copy link
Member

This highlighted some unused bindings, so I've removed them, which obsoletes this pull request.

@rfindler rfindler closed this Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant